package edu.pku.hawk.service.impl;

import edu.pku.hawk.controller.util.Constants;
import edu.pku.hawk.service.ServiceInfoSer;
import edu.pku.hawk.service.bo.ServiceInfo;

public class ServiceInfoSerImpl implements ServiceInfoSer {

	public ServiceInfo[] getServiceInfo() {
		ServiceInfo s1 = new ServiceInfo("1", Constants.Infrared_Ser, "", ServiceInfo.BASISTYPE);
		ServiceInfo s2 = new ServiceInfo("2", Constants.Pressure_Ser, "", ServiceInfo.BASISTYPE);
		ServiceInfo s3 = new ServiceInfo("3", Constants.Sound_Ser, "", ServiceInfo.BASISTYPE);
		ServiceInfo s4 = new ServiceInfo("4", Constants.Metal_Ser, "", ServiceInfo.BASISTYPE);
		ServiceInfo s5 = new ServiceInfo("5", Constants.RFID_Ser, "", ServiceInfo.BASISTYPE);
		ServiceInfo s6 = new ServiceInfo("6", Constants.Combination_Ser, "", ServiceInfo.COMPOSEDTYPE);

		ServiceInfo[] ret = new ServiceInfo[] { s1, s2, s3, s4, s5, s6 };
		return ret;
	}

}
